package com.glink.manage.dto.code;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "数据字典-子代码(查询)", description = "数据字典-子代码(查询)")
public class CodeSubCodeQueryDTO {
    @ApiModelProperty(value = "类型编码", required = true)
    @NotBlank(message = "类型编码不能为空")
    private String parentType;
    
    @ApiModelProperty(value = "字典项 Key")
    private String key;
    
    @ApiModelProperty(value = "字典项子代码 Key")
    private String childKey;
}
